package com.zhuoyue.system.domain.po;

import com.zhuoyue.common.core.domain.BaseEntity;
import com.zhuoyue.system.domain.dto.AutoMatePoReqDTO;
import lombok.Data;
import org.springframework.beans.BeanUtils;

/**
 * @author Administrator
 */
@Data
public class TblAutoMatePo extends BaseEntity {
    private Integer pageNum;
    private Integer pageSize;
    private String automateName;
    private String account;
    private String organizationCode;
    private Long deptId;

    public TblAutoMatePo doToDto(AutoMatePoReqDTO autoMatePoReq) {
        BeanUtils.copyProperties(autoMatePoReq, this);
        return this;
    }
}
